$(document).ready(function(){
    $("#frm_contact").validate({
        rules: {
            'name': { required: true },
            'email': {
                required: true,
                email: true
            },
            'subject': { required: true },
            'message': { required: true }
        }
    });

    $(".send-me").click(function (e){
        var target = e.target;
        var value = 0;
        if($(target).is(":checked")){
            value = 1;
        }
        $(target).attr("value",value);
    });
});